package com.easy.easy.Service;

import com.easy.easy.bean.Order;
import com.easy.easy.bean.Orderinfo;
import com.easy.easy.util.Page;

import java.util.List;

public interface IOrderinfoService {
    int add(Orderinfo orderinfo);

    int edit(Orderinfo orderinfo);

    int delete(int orderid,int userid);

    List<Orderinfo> getList(Page page, String text, int userid);

    Orderinfo getOrderById(int orderid);

    int getCount(String text,int userid);

    Orderinfo getOrder(Orderinfo orderinfo);

    Orderinfo getOrderinfoByUserId(int userid);
}
